//
//  Singleton.m
//  小汽车
//
//  Created by 杜远洋 on 14-12-29.
//  Copyright (c) 2014年 蓝欧科技. All rights reserved.
//

#import "Singleton.h"
static Singleton *share = nil;
@implementation Singleton
- (void)dealloc
{
    [super dealloc];
}
+ (instancetype)shareInstance
{
    @synchronized(self){
        if(!share){
            share = [[Singleton alloc] init];
        }
    }
    return share;
}

@end
